<%--
 *  File:    UploadSummary.jsp
 *  @Author: Jamesli
 *  Date:    2010/07/07
 *
 *  Copyright (C) 2000 - 2010 Oval Technologies, Inc.
 *  All rights reserved. 
 *
 *  This software is the confidential and proprietary information of Oval 
 *  Technologies, Inc. ("Confidential Information").  You shall not
 *  disclose such Confidential Information and shall use it only in
 *  accordance with the terms of the license agreement you entered into
 *  with Oval.
--%>
<%
 	Category cat = Category.getInstance("jsp.UploadSummary");
 	String privilegeCode = "Z0608,A0601,E0162,A0602";
  //String strModuleName = "SPM";
	String contextPath = request.getContextPath();
%>
<%@ include file="uploadInc/uploadcommon.inc" %>
<%@ include file="/inc/Security.inc" %>

<html>
<head>
<title>UploadSummary</title>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<%@ include file="/inc/CatchError.inc" %>
<link rel="stylesheet" href="<%=contextPath %>/css/<%= strLanguageCode %>/main.css" type="text/css">
<script language="JavaScript" src="<%=contextPath %>/css/<%= strLanguageCode %>/script.js"></script>
<script language="JavaScript" src="<%=contextPath %>/js/ScriptLib.js"></script>
<script language="JavaScript" src="<%=contextPath %>/js/Calendar.js"></script>
<script language="JavaScript">
function page_operate(operand)
{
	  if (operand=="submit")                                                   
	  {
	    cform.actionname.value = "submit";
	  	cform.target = "_self";
	  	isRunning = true;
	  	cform.submit();
	  }
	  if (operand=="cancel")
	  {
	    cform.actionname.value = "cancel";
	  	cform.target = "_self";
	  	isRunning = true;
	  	cform.submit();
	  }
	  if (operand=="submit1")                                                   
	  {
	    cform.actionname.value = "submit1";
	  	cform.target = "_self";
	  	isRunning = true;
	  	cform.submit();
	  }
	  if (operand=="cancel1")
	  {
	    cform.actionname.value = "cancel1";
	  	cform.target = "_self";
	  	isRunning = true;
	  	cform.submit();
	  }
}
</script>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<%@ include file="/inc/PageLocation.inc" %>
<table width="100%" cellspacing="0" cellpadding="0" border="0">
	<form name="cform" method="post" action="<%=contextPath %>/Dispatcher">
    <input type="hidden" name="pagename" value="uploadsummary">
    <input type="hidden" name="actionname">
  <tr> 
    <td>
      <%if (hospitalvector != null){%>
		<jsp:include page="uploadInc/uploadhospital.jsp"/>
      <%} if (pharmacyvector != null){%>
		<jsp:include page="uploadInc/uploadpharmacy.jsp"/>
      <%} if (distributorvector != null){%>
      	<jsp:include page="uploadInc/uploaddistributor.jsp"/>
      <%} if (prodVector != null){%>
		<jsp:include page="uploadInc/UploadProduct.jsp"/>
      <%} if (doctorVector != null){%>
    	<jsp:include page="uploadInc/UploadDoctor.jsp"/>
      <%} if (produmVector != null){%>
      	<jsp:include page="uploadInc/UploadProdum.jsp"/>
      <%} if (prodpriceVector != null){%>
      	<jsp:include page="uploadInc/UploadProdprice.jsp"/>
      <%} if (users != null){ %>
      	<jsp:include page="uploadInc/uploadUser.jsp"/>
      <%} if (customerCollate != null){ %>
      	<jsp:include page="uploadInc/UploadCustomerCollate.jsp"/>
      <%} if (vendorCollate != null){ %>
      	<jsp:include page="uploadInc/UploadVendorCollate.jsp"/>
      <%}  if (prodCollate != null){ %>
      	<jsp:include page="uploadInc/UploadProdCollate.jsp"/>
      <%}  if (bnpwdelivery != null){ %>
      	<jsp:include page="uploadInc/UploadBNPW.jsp"/>
      <%} if (bnpwreport != null){ %>
      	<jsp:include page="uploadInc/UploadBNPW.jsp"/>
      <%} if (employeesalestarget != null){ %>
      	<jsp:include page="uploadInc/UploadEmployeeSalesTarget.jsp"/>
      <%} if (customersalestarget != null){ %>
      	<jsp:include page="uploadInc/UploadCustomerSalesTarget.jsp"/>
      <%} if (deliverys != null){ %>
      	<jsp:include page="uploadInc/UploadDeliverys.jsp"/>
      <%} if (hospitalbatchvector != null){ %>
      	<jsp:include page="uploadInc/UploadHospitalBatchData.jsp"/>
      <%} if (pharmacybatchvector != null){ %>
      	<jsp:include page="uploadInc/UploadPharmacyBatchData.jsp"/>
      <%} if (doctorbatchvector != null){ %>
    	<jsp:include page="uploadInc/UploadDoctorBatchData.jsp"/>
      <%} if (masterdatabatchvector != null){ %>
    	<jsp:include page="uploadInc/UploadMasterdataRelationBatch.jsp"/>
	  <%} if (chuanhuoapply != null){ %>
    	<jsp:include page="uploadInc/UploadChuanHuoApply.jsp"/>
	  <%} if (chuanhuoreply != null){ %>
    	<jsp:include page="uploadInc/UploadChuanHuoReply.jsp"/>
      <%} if (distributorbatchvector != null){ %>
    	<jsp:include page="uploadInc/UploadDistributorBatchInfo.jsp"/>
      <%} if (employeecollate != null){ %>
	    <jsp:include page="uploadInc/UploadEmployeeCollate.jsp"/>
	  <%} if (nonlockcustomercollate != null){ %>
	    <jsp:include page="uploadInc/UploadNonLockCustomerCollate.jsp"/>
	  <%} if (nonlockfailcustomercollate != null){ %>
	    <jsp:include page="uploadInc/UploadNonLockFailCustomerCollate.jsp"/>
	  <%} if (nonlockcollatemodify != null){ %>
	    <jsp:include page="uploadInc/UploadNonLockCollateModify.jsp"/>
	  <%} if (employeecollateview != null){ %>
	    <jsp:include page="uploadInc/UploadEmployeeCollateView.jsp"/>
	  <%} %>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td class="summary_top"></td>
        </tr>
        <tr>
          <td class="td_center">
			  <%if (chuanhuoreply != null || chuanhuoapply != null){ %>
					<a onclick="page_operate('submit1')"><custom:button type="1" label="L_Submit" imgsrc="submit.gif" border="0" style="width:60"/></a>
					<a onclick="page_operate('cancel1')"><custom:button type="1" label="L_Cancel" imgsrc="cancel.gif" border="0" style="width:60"/></a>
			  <%}else{ %>
					<a onclick="page_operate('submit')"><custom:button type="1" label="L_Submit" imgsrc="submit.gif" border="0" style="width:60"/></a>
					<a onclick="page_operate('cancel')"><custom:button type="1" label="L_Cancel" imgsrc="cancel.gif" border="0" style="width:60"/></a>
			  <%}%>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</form>
</table>
</body>
</html>


